﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using VNWIKI_WEB;

namespace VNWIKI_WEB.Models
{
    public class UserModel
    {
        public int ID { get; set; }

        public string AccountName { get; set; }

        public string Name { get; set; }

        public string Email { get; set; }

        public string Password { get; set; }

        public bool Permision { get; set; }

        public string CreateDate { get; set; }

        public string DeleteDate { get; set; }

        public bool Deleted { get; set; }

        public bool Admin { get; set; }
    }
    public class MovieDBContext : DbContext
    {

        public DbSet<Category> Categories { get; set; }

        public DbSet<User> Users { get; set; }

        public DbSet<Album> Albums { get; set; }

        public DbSet<Photo> Photos { get; set; }
    }
}